import requests
class EmployeeAddApi:
    # 新增员工接口层
    @classmethod
    def add_employee(cls, json_data, header):
        employee_add_url = "http://localhost:8080/admin/employee"
        # 发送post请求
        resp = requests.post(url=employee_add_url, headers=header, json=json_data)
        return resp